package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Activityprizes;
import org.hxyjs.entity.ActivityprizesExample;
import org.hxyjs.entity.Prizetype;

public interface ActivityprizesMapper {
    long countByExample(ActivityprizesExample example);

    int deleteByExample(ActivityprizesExample example);

    int deleteByPrimaryKey(String apno);

    int insert(Activityprizes record);

    String getMaxApno();

    List<Activityprizes> getActivityprizesByPage(Map map);

    int insertSelective(Activityprizes record);

    List<Activityprizes> selectByExample(ActivityprizesExample example);

    Activityprizes selectByPrimaryKey(String apno);

    int updateByExampleSelective(@Param("record") Activityprizes record, @Param("example") ActivityprizesExample example);

    int updateByExample(@Param("record") Activityprizes record, @Param("example") ActivityprizesExample example);

    int updateByPrimaryKeySelective(Activityprizes record);

    int updateByPrimaryKey(Activityprizes record);
}